/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TelaInicial.java
 *
 * Created on 03/12/2011, 12:30:15
 */
package br.uff.ihc.gui;

import br.uff.ihc.bd.tabelas.TB_Paciente;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Insets;
import java.awt.Toolkit;
import java.util.Locale;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.border.LineBorder;

/**
 *
 * @author Adrielle
 */
public class TelaExames extends javax.swing.JFrame {

    private TB_Paciente tabela;
    public TelaExames(String nome) {
        initComponents();
        Insets in = Toolkit.getDefaultToolkit().getScreenInsets(this.getGraphicsConfiguration());
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        int width = d.width - (in.left + in.top);
        int height = d.height - (in.top + in.bottom);
        setSize(width, height);
        setLocation(in.left, in.top);
        setExtendedState(TelaExames.MAXIMIZED_BOTH);
        pnBTBuscarExame.setBackground(new Color(0, 51, 0));
        pnBTAgendamento.setBackground(Color.WHITE);
        pnBTAgendamento.getComponent(0).setForeground(Color.BLACK);
        pnBTBuscarExame.getComponent(0).setForeground(Color.WHITE);
        pnBTAgendamento.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 0, Color.BLACK));
        pnAgendamento.setVisible(true);
        pnBuscarExame.setVisible(false);
        
        lbNomeUsuario.setText(nome);
//
//        try {
//            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
//                if ("Nimbus".equals(info.getName())) {
//                    UIManager.setLookAndFeel(info.getClassName());
//                    break;
//                }
//            }
//        } catch (UnsupportedLookAndFeelException e) {
//        } catch (ClassNotFoundException e) {
//            // handle exception
//        } catch (InstantiationException e) {
//            // handle exception
//        } catch (IllegalAccessException e) {
//            // handle exception
//        }
//


    }

    public void centralizarComponente(Component pai, Component filho) {
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel5 = new javax.swing.JPanel();
        lbRotuloUsuario = new javax.swing.JLabel();
        lbNomeUsuario = new javax.swing.JLabel();
        lbData = new javax.swing.JLabel();
        pnPrincipal = new javax.swing.JPanel();
        pnBTAgendamento = new javax.swing.JPanel();
        lbNonoPaciente = new javax.swing.JLabel();
        pnBTBuscarExame = new javax.swing.JPanel();
        lbBuscarPaciente = new javax.swing.JLabel();
        pnBuscarExame = new javax.swing.JPanel();
        txNome1 = new javax.swing.JTextField();
        lbNome1 = new javax.swing.JLabel();
        txCSC1 = new javax.swing.JTextField();
        lbCSC1 = new javax.swing.JLabel();
        btConfirmar = new javax.swing.JButton();
        pnAgendamento = new javax.swing.JPanel();
        lbCPF = new javax.swing.JLabel();
        lbNome = new javax.swing.JLabel();
        lbCSC = new javax.swing.JLabel();
        lbRG = new javax.swing.JLabel();
        txNome = new javax.swing.JTextField();
        txCSC = new javax.swing.JTextField();
        txCPF = new javax.swing.JTextField();
        txRG = new javax.swing.JTextField();
        lbDataNascimento = new javax.swing.JLabel();
        lbDadosPessoais1 = new javax.swing.JLabel();
        btSalvar = new javax.swing.JButton();
        dtDataNascimento = new com.toedter.calendar.JDateChooser();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jComboBox2 = new javax.swing.JComboBox();
        jComboBox3 = new javax.swing.JComboBox();
        jComboBox4 = new javax.swing.JComboBox();
        dtDataNascimento2 = new com.toedter.calendar.JDateChooser();
        btSalvar1 = new javax.swing.JButton();
        lbDadosPessoais2 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jPanel5.setBackground(new java.awt.Color(47, 120, 47));

        lbRotuloUsuario.setFont(new java.awt.Font("Lucida Sans Typewriter", 1, 13));
        lbRotuloUsuario.setForeground(new java.awt.Color(255, 255, 255));
        lbRotuloUsuario.setText("Usuário:");

        lbNomeUsuario.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 13));
        lbNomeUsuario.setForeground(new java.awt.Color(255, 255, 255));
        lbNomeUsuario.setText("João Victor");

        lbData.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 13));
        lbData.setForeground(new java.awt.Color(255, 255, 255));
        lbData.setText("Quarta, 7 de dezembro de 2011 10:30h");

        pnPrincipal.setBackground(new java.awt.Color(255, 255, 255));
        pnPrincipal.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 51, 0), 1, true));
        pnPrincipal.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnBTAgendamento.setBackground(new java.awt.Color(0, 51, 0));
        pnBTAgendamento.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(255, 255, 255), 1, true));
        pnBTAgendamento.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                OnNovoPaciente(evt);
            }
        });

        lbNonoPaciente.setFont(new java.awt.Font("Papyrus", 1, 14));
        lbNonoPaciente.setForeground(new java.awt.Color(255, 255, 255));
        lbNonoPaciente.setText("Agendamento");

        javax.swing.GroupLayout pnBTAgendamentoLayout = new javax.swing.GroupLayout(pnBTAgendamento);
        pnBTAgendamento.setLayout(pnBTAgendamentoLayout);
        pnBTAgendamentoLayout.setHorizontalGroup(
            pnBTAgendamentoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnBTAgendamentoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbNonoPaciente)
                .addContainerGap(28, Short.MAX_VALUE))
        );
        pnBTAgendamentoLayout.setVerticalGroup(
            pnBTAgendamentoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnBTAgendamentoLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(lbNonoPaciente)
                .addContainerGap())
        );

        pnPrincipal.add(pnBTAgendamento, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 60, 140, 40));

        pnBTBuscarExame.setBackground(new java.awt.Color(0, 51, 0));
        pnBTBuscarExame.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(255, 255, 255), 1, true));
        pnBTBuscarExame.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                pnBTBuscarExameMouseClicked(evt);
            }
        });

        lbBuscarPaciente.setFont(new java.awt.Font("Papyrus", 1, 14));
        lbBuscarPaciente.setForeground(new java.awt.Color(255, 255, 255));
        lbBuscarPaciente.setText("Buscar Exame");

        javax.swing.GroupLayout pnBTBuscarExameLayout = new javax.swing.GroupLayout(pnBTBuscarExame);
        pnBTBuscarExame.setLayout(pnBTBuscarExameLayout);
        pnBTBuscarExameLayout.setHorizontalGroup(
            pnBTBuscarExameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnBTBuscarExameLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbBuscarPaciente)
                .addContainerGap(22, Short.MAX_VALUE))
        );
        pnBTBuscarExameLayout.setVerticalGroup(
            pnBTBuscarExameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnBTBuscarExameLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbBuscarPaciente, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE)
                .addGap(4, 4, 4))
        );

        pnPrincipal.add(pnBTBuscarExame, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 140, 40));

        pnBuscarExame.setBackground(new java.awt.Color(255, 255, 255));
        pnBuscarExame.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 51, 0), 1, true));
        pnBuscarExame.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        pnBuscarExame.add(txNome1, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 140, 180, -1));

        lbNome1.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbNome1.setText("Número do Exame: ");
        pnBuscarExame.add(lbNome1, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 140, 160, -1));
        pnBuscarExame.add(txCSC1, new org.netbeans.lib.awtextra.AbsoluteConstraints(540, 90, 220, -1));

        lbCSC1.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCSC1.setText("Cartão de Saúde do Cidadão:");
        pnBuscarExame.add(lbCSC1, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 90, 258, -1));

        btConfirmar.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        btConfirmar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/buscar.png"))); // NOI18N
        btConfirmar.setText("Buscar");
        btConfirmar.setToolTipText("Cofirmar Paciente");
        btConfirmar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btConfirmarActionPerformed(evt);
            }
        });
        pnBuscarExame.add(btConfirmar, new org.netbeans.lib.awtextra.AbsoluteConstraints(450, 210, 130, 40));

        pnPrincipal.add(pnBuscarExame, new org.netbeans.lib.awtextra.AbsoluteConstraints(149, 60, 1180, 570));

        pnAgendamento.setBackground(new java.awt.Color(255, 255, 255));
        pnAgendamento.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 51, 0), 1, true));
        pnAgendamento.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        lbCPF.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCPF.setText("CPF:");
        pnAgendamento.add(lbCPF, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 110, 60, -1));

        lbNome.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbNome.setText("Nome:");
        pnAgendamento.add(lbNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 70, 60, -1));

        lbCSC.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCSC.setText("Cartão de Saúde do Cidadão:");
        pnAgendamento.add(lbCSC, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 190, 258, -1));

        lbRG.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbRG.setText("RG:");
        pnAgendamento.add(lbRG, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 110, 70, -1));
        pnAgendamento.add(txNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 70, 580, -1));
        pnAgendamento.add(txCSC, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 190, 220, -1));
        pnAgendamento.add(txCPF, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 110, 210, -1));
        pnAgendamento.add(txRG, new org.netbeans.lib.awtextra.AbsoluteConstraints(540, 110, 190, -1));

        lbDataNascimento.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbDataNascimento.setText("Data de Nascimento:");
        pnAgendamento.add(lbDataNascimento, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 150, 170, -1));

        lbDadosPessoais1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dados do Exame", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Papyrus", 0, 11), new java.awt.Color(0, 51, 0))); // NOI18N
        pnAgendamento.add(lbDadosPessoais1, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 240, 750, 240));

        btSalvar.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        btSalvar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/buscar.png"))); // NOI18N
        btSalvar.setText("Buscar");
        btSalvar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSalvarActionPerformed(evt);
            }
        });
        pnAgendamento.add(btSalvar, new org.netbeans.lib.awtextra.AbsoluteConstraints(660, 180, 120, 40));
        pnAgendamento.add(dtDataNascimento, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 400, 130, -1));

        jLabel1.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel1.setText("Tipo de Exame:");
        pnAgendamento.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 440, -1, 30));

        jLabel2.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel2.setText("Número do Exame:");
        pnAgendamento.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 270, -1, 40));

        jLabel3.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel3.setText("Local:");
        pnAgendamento.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 360, -1, 30));

        jLabel4.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel4.setText("Data:");
        pnAgendamento.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 400, -1, 30));

        jLabel5.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel5.setText("Hora:");
        pnAgendamento.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 400, -1, 30));

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Hemograma", "Urina", "Fezes", "Raio-x" }));
        pnAgendamento.add(jComboBox1, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 440, 380, -1));

        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Dra. Amanda", "Dra. Bruna", "Dr. Matheus", "Dr. Pedro", "Dra. Rafaela", "Dr.Sandro", "Dr. Ronaldo" }));
        pnAgendamento.add(jComboBox2, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 320, 440, -1));

        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "UPA", "Policlinica", "Antonio Pedro", " " }));
        pnAgendamento.add(jComboBox3, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 360, 440, -1));

        jComboBox4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "10:30", "11:00", "12:00", " " }));
        pnAgendamento.add(jComboBox4, new org.netbeans.lib.awtextra.AbsoluteConstraints(500, 400, 110, -1));
        pnAgendamento.add(dtDataNascimento2, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 150, 130, -1));

        btSalvar1.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        btSalvar1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/salvar.png"))); // NOI18N
        btSalvar1.setText("Salvar");
        pnAgendamento.add(btSalvar1, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 480, 110, 40));

        lbDadosPessoais2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dados do Paciente", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Papyrus", 0, 11), new java.awt.Color(0, 51, 0))); // NOI18N
        pnAgendamento.add(lbDadosPessoais2, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 20, 750, 220));

        jLabel6.setFont(new java.awt.Font("Papyrus", 1, 16));
        jLabel6.setText("Médico:");
        pnAgendamento.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 320, -1, 30));
        pnAgendamento.add(jTextField1, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 280, 130, -1));

        pnPrincipal.add(pnAgendamento, new org.netbeans.lib.awtextra.AbsoluteConstraints(149, 60, 1180, 570));

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbRotuloUsuario)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(lbNomeUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 320, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 731, Short.MAX_VALUE)
                .addComponent(lbData, javax.swing.GroupLayout.PREFERRED_SIZE, 320, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addComponent(pnPrincipal, javax.swing.GroupLayout.DEFAULT_SIZE, 1451, Short.MAX_VALUE)
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pnPrincipal, javax.swing.GroupLayout.DEFAULT_SIZE, 660, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbRotuloUsuario)
                    .addComponent(lbNomeUsuario)
                    .addComponent(lbData))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void OnNovoPaciente(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_OnNovoPaciente
        pnBTBuscarExame.setBackground(new Color(0, 51, 0));
        pnBTAgendamento.setBackground(Color.WHITE);
        pnBTAgendamento.getComponent(0).setForeground(Color.BLACK);
        pnBTBuscarExame.getComponent(0).setForeground(Color.WHITE);
        pnBTAgendamento.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 0, Color.BLACK));
        pnAgendamento.setVisible(true);
        pnBuscarExame.setVisible(false);

    }//GEN-LAST:event_OnNovoPaciente

    private void pnBTBuscarExameMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_pnBTBuscarExameMouseClicked
        pnBTAgendamento.setBackground(new Color(0, 51, 0));
        pnBTBuscarExame.setBackground(Color.WHITE);
        pnBTBuscarExame.getComponent(0).setForeground(Color.BLACK);
        pnBTAgendamento.getComponent(0).setForeground(Color.WHITE);
        pnBTBuscarExame.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 0, Color.BLACK));
        pnBuscarExame.setVisible(true);
        pnAgendamento.setVisible(false);
        setDadosPessoaisVisiveis(false);
    }//GEN-LAST:event_pnBTBuscarExameMouseClicked

    private void btSalvarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSalvarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btSalvarActionPerformed

    private void btConfirmarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btConfirmarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btConfirmarActionPerformed

    public void setDadosPessoaisVisiveis(boolean b){

    }


    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {

                TelaExames tela = new TelaExames("");
                tela.setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btConfirmar;
    private javax.swing.JButton btSalvar;
    private javax.swing.JButton btSalvar1;
    private com.toedter.calendar.JDateChooser dtDataNascimento;
    private com.toedter.calendar.JDateChooser dtDataNascimento2;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JComboBox jComboBox4;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JLabel lbBuscarPaciente;
    private javax.swing.JLabel lbCPF;
    private javax.swing.JLabel lbCSC;
    private javax.swing.JLabel lbCSC1;
    private javax.swing.JLabel lbDadosPessoais1;
    private javax.swing.JLabel lbDadosPessoais2;
    private javax.swing.JLabel lbData;
    private javax.swing.JLabel lbDataNascimento;
    private javax.swing.JLabel lbNome;
    private javax.swing.JLabel lbNome1;
    private javax.swing.JLabel lbNomeUsuario;
    private javax.swing.JLabel lbNonoPaciente;
    private javax.swing.JLabel lbRG;
    private javax.swing.JLabel lbRotuloUsuario;
    private javax.swing.JPanel pnAgendamento;
    private javax.swing.JPanel pnBTAgendamento;
    private javax.swing.JPanel pnBTBuscarExame;
    private javax.swing.JPanel pnBuscarExame;
    private javax.swing.JPanel pnPrincipal;
    private javax.swing.JTextField txCPF;
    private javax.swing.JTextField txCSC;
    private javax.swing.JTextField txCSC1;
    private javax.swing.JTextField txNome;
    private javax.swing.JTextField txNome1;
    private javax.swing.JTextField txRG;
    // End of variables declaration//GEN-END:variables

    /**
     * @return the tabela
     */
    public TB_Paciente getTabela() {
        return tabela;
    }

    /**
     * @param tabela the tabela to set
     */
    public void setTabela(TB_Paciente tabela) {
        this.tabela = tabela;
    }
}
